Turn on in_change while changing the filename in the entry
authorFederico Mena Quintero <federico@gnu.org>
Thu, 13 Mar 2008 00:36:42 +0000 (00:36 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Thu, 13 Mar 2008 00:36:42 +0000 (00:36 +0000)
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19823

gtk/gtkfilechooserentry.c

index 0b4d246aa5539c4ec1bd373de2bc64dc5c43d3e5..7e868380827b886c0083bafb27fecdedf45c9b57 100644 (file)
@@ -1261,9 +1261,9 @@ _gtk_file_chooser_entry_set_file_part (GtkFileChooserEntry *chooser_entry,
 {
   g_return_if_fail (GTK_IS_FILE_CHOOSER_ENTRY (chooser_entry));
 
-  /* FIXME: this may need to turn on in_change, since we don't want autocompletion to start */
-
+  chooser_entry->in_change = TRUE;
   gtk_entry_set_text (GTK_ENTRY (chooser_entry), file_part);
+  chooser_entry->in_change = FALSE;
 }